<table class="table table-striped table-hover">
	<thead>
		<tr>
		
			<th><g:message code="contrato.aluno.label" default="Aluno" /></th>
		
			<th><g:message code="contrato.responsavel.label" default="Responsavel" /></th>
		
			<th><g:message code="contrato.serie.label" default="Serie" /></th>
		
			<th><g:message code="contrato.anulacao.label" default="Anulação" /></th>
			
		    <th><g:message code="contrato.ativo.label" default="Ativo" /></th>
			
		</tr>
	</thead>
	<tbody>
	<g:each in="${contratoInstanceList}" status="i" var="contratoInstance">
		<tr class="${(i % 2) == 0 ? 'even' : 'odd'}">
		
			<td><g:link action="show" id="${contratoInstance.id}">${fieldValue(bean: contratoInstance, field: "aluno")}</g:link></td>
		
			<td>${fieldValue(bean: contratoInstance?.responsavel, field: "nome")}</td>
		
			<td>${fieldValue(bean: contratoInstance?.turma?.serie, field: "nome")}</td>
		
			<td>${fieldValue(bean: contratoInstance, field: "anulacao")}</td>
		
			<td><g:formatBoolean boolean="${contratoInstance.ativo}" /></td>
		
		</tr>
	</g:each>
	</tbody>
</table>
